package com.hdw.auth.api;

import com.hdw.auth.bean.model.SysUseTag;
import com.hdw.common.vo.PaginationVO;

import java.util.List;
import java.util.Map;

/**
 * sysUseTag服务类
 * Created by hozeData on 2021/11/21.
 */
public interface SysUseTagService {

    List<SysUseTag> findByModel(SysUseTag sysUseTag);

    PaginationVO<SysUseTag> findPageByModel(SysUseTag sysUseTag, Integer pageNum, Integer pageSize);

    SysUseTag getById(Integer id);

    int insert(SysUseTag sysUseTag);

    int insertSelective(SysUseTag sysUseTag);

    int updateByIdSelective(SysUseTag sysUseTag);

    int updateById(SysUseTag sysUseTag);

    int deleteById(Integer id);

    List<Map<String,Object>> findByUseId(Integer useId);

    int delete(Integer userId,Integer tagId);


}
